package Entities;

import javax.persistence.*;

@Entity
@Table(name="viajes_carrier")
public class ViajeCarrier extends Viaje {

	@ManyToOne
	@JoinColumn(name = "carrier_id")
	private Carrier carrier;

	/**
	 * Getters and Setters
	 */
	
	public Carrier getCarrier() {
		return carrier;
	}

	public void setCarrier(Carrier carrier) {
		this.carrier = carrier;
	}
	
}
